/*
 * Copyright 2020-2030 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

package com.gitee.minimalismstyle.fresh.flowable.api.feign.model

import java.io.Serializable

/**
 * TaskResponse
 * @author maoxiaodong
 */
class TaskResponse : Serializable {

    /**
     *
     * example: 8
     */
    var id: String? = null

    /**
     *
     * example: http://localhost:8182/runtime/tasks/8
     */
    var url: String? = null

    /**
     *
     * example: owner
     */
    var owner: String? = null

    /**
     *
     * example: kermit
     */
    var assignee: String? = null

    /**
     * Delegation-state of the task, can be null, "pending" or "resolved".
     * example: pending
     */
    var delegationState: String? = null

    /**
     *
     * example: My task
     */
    var name: String? = null

    /**
     *
     * example: Task description
     */
    var description: String? = null

    /**
     *
     * example: 2018-04-17T10:17:43.902+0000
     */
    var createTime: String? = null

    /**
     *
     * example: 2018-04-17T10:17:43.902+0000
     */
    var dueDate: String? = null

    /**
     *
     * example: 50
     */
    var priority: Int? = null

    /**
     *
     * example:
     */
    var suspended: Boolean? = null

    /**
     *
     * example: 2018-04-17T10:17:43.902+0000
     */
    var claimTime: String? = null

    /**
     *
     * example: theTask
     */
    var taskDefinitionKey: String? = null

    /**
     *
     * example: 12
     */
    var scopeDefinitionId: String? = null

    /**
     *
     * example: 14
     */
    var scopeId: String? = null

    /**
     *
     * example: 15
     */
    var subScopeId: String? = null

    /**
     *
     * example: cmmn
     */
    var scopeType: String? = null

    /**
     *
     * example: 16
     */
    var propagatedStageInstanceId: String? = null

    /**
     *
     * example: someTenantId
     */
    var tenantId: String? = null

    /**
     *
     * example: ExampleCategory
     */
    var category: String? = null

    /**
     *
     * example:
     */
    var formKey: String? = null

    /**
     *
     * example: null
     */
    var parentTaskId: String? = null

    /**
     *
     * example: null
     */
    var parentTaskUrl: String? = null

    /**
     *
     * example: 5
     */
    var executionId: String? = null

    /**
     *
     * example: http://localhost:8182/runtime/executions/5
     */
    var executionUrl: String? = null

    /**
     *
     * example: 5
     */
    var processInstanceId: String? = null

    /**
     *
     * example: http://localhost:8182/runtime/process-instances/5
     */
    var processInstanceUrl: String? = null

    /**
     *
     * example: oneTaskProcess%3A1%3A4
     */
    var processDefinitionId: String? = null

    /**
     *
     * example: http://localhost:8182/runtime/process-definitions/oneTaskProcess%3A1%3A4
     */
    var processDefinitionUrl: String? = null

    /**
     *
     * example:
     */
    var variables: List<RestVariable>? = null
}